]> dgit.raspbian.org Git - gnome-shell.git/commit
theme: Style .selected menu items instead of :focus/:hover
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Mar 2015 14:47:27 +0000 (15:47 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Mar 2015 14:47:27 +0000 (15:47 +0100)
commit826682cc07cebef66b4a7a60c916802dcd64e550
treec3b1857c19fe14f2d060a1c5861ad045b8655672
parent8b6e56672851d10be857c8f548bedc5a83d975d6
theme: Style .selected menu items instead of :focus/:hover

The .selected style class indicates the "active" menu item, which
is generally the last hovered or focused one (whichever happened
last). Styling that instead of :focus and :hover directly guarantees
that only a single item will be selected at a time, which removes
ambiguity and matches the behavior of GTK+ menus.

https://bugzilla.gnome.org/show_bug.cgi?id=745246
data/theme/gnome-shell-high-contrast.css
data/theme/gnome-shell-sass
data/theme/gnome-shell.css